package zyl.com.controller;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;
import com.xxl.job.core.biz.model.ReturnT;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Component
public class MyJobTest {

    @XxlJob("myJobTest")
    public ReturnT<String> myJobTest(String s)throws Exception {
        System.out.println("=====hello world=====");
        return ReturnT.SUCCESS;
    }



}
